﻿//===================================================================================
// Copyright (c) Ryan Garrett.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===================================================================================

using System;

namespace Caffeine.Core.Test.TestModel.ValidationModels
{
    public class ValidationModelSubtype : ValidationModel
    {
        private readonly ModelProperty<String> _propertyC;
        private readonly ModelProperty<String> _propertyD;

        public ValidationModelSubtype()
        {
            _propertyC = RegisterProperty<String>("PropertyC");
            _propertyD = RegisterProperty<String>("PropertyD");
        }

        public override ModelProperty<String> PropertyC
        {
            get
            {
                return _propertyC;
            }
        }

        public ModelProperty<String> PropertyD
        {
            get
            {
                return _propertyD;
            }
        }
    }
}
